package com.zgkxzx.android.rx.schedule;

import android.os.Handler;
import android.os.HandlerThread;
import android.os.Looper;

import java.util.concurrent.Executor;

/**
 * 创建者 zgkxzx
 * 日期   12/11/17
 * 描述
 */

public class MainThread implements Executor {

    Handler mHandler = new Handler(Looper.getMainLooper());

    @Override
    public void execute(Runnable command) {
        mHandler.post(command);
    }
}
